package com.letoken.platform.pub.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 分页响应对象
 *
 */
@Data
@ApiModel(value = "分页响应对象", description = "分页响应对象")
@NoArgsConstructor
@AllArgsConstructor
public class PageData<T> implements Serializable {

    @ApiModelProperty(name = "page", value = "分页信息")
    private PageRes page;

    @ApiModelProperty(name = "list", value = "数据集合")
    private List<T> list;



}